<?php
namespace app\index\controller;

use app\common\lib\ali\Sms;
use think\Exception;

class Index
{
    public function index()
    {
        return '';
    }

    public function hello($name = 'ThinkPHP5')
    {
        return 'hello,' . $name;
    }
    
    
    public function sms()
    {
        try{
           Sms::sendSms(15101068863,'666666');
    
        }catch (\Exception $e){
            //todo
        }
    }
}
